home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / pmake / RCS / world.mk,v < prev   
Encoding:
Text File  |  1990-02-20  |  3.6 KB  |  190 lines

  1. head     1.4;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.4
  10. date     90.02.20.11.50.18;  author douglis;  state Exp;
  11. branches ;
  12. next     1.3;
  13.  
  14. 1.3
  15. date     89.04.03.22.23.43;  author douglis;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     88.10.10.10.32.44;  author ouster;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     88.10.10.10.26.07;  author ouster;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @@
  32.  
  33.  
  34. 1.4
  35. log
  36. @tried to add some consistency to ::/: operators, and fixed tve's TYPE==personal complaint
  37. @
  38. text
  39. @#
  40. # This is an included makefile to assist in recompiling collections
  41. # of related programs (the world).  For each standard target "x",
  42. # this file provides a corresponding target "xworld", which will
  43. # remake "x" in each of the directories in the WORLD variable, in
  44. # addition to remaking in the current directory.
  45. #
  46. # Before including this makefile, the calling makefile should define
  47. # the following variables:
  48. #
  49. # WORLD -    List of related directories in which world makes should
  50. #        be invoked.
  51. #
  52. # $Header: /sprite/lib/pmake/RCS/world.mk,v 1.3 89/04/03 22:23:43 douglis Exp $
  53. #
  54.  
  55. WORLD        ?=
  56.  
  57. others            :: .MAKE
  58.     @@for i in $(WORLD); do
  59.         @@echo --- pmake in $$i ---
  60.         @@(cd $$i; $(MAKE) -l $(PASSVARS) TM=$(TM))
  61.     @@done
  62.  
  63. installothers        :: .MAKE
  64.     @@for i in $(WORLD); do
  65.         @@echo --- pmake install in $$i ---
  66.         @@(cd $$i; $(MAKE) -l $(PASSVARS) TM=$(TM) install)
  67.     @@done
  68.  
  69. cleanothers        : .MAKE
  70.     @@for i in $(WORLD); do
  71.         @@echo --- pmake clean in ../cc1.$$i ---
  72.         @@(cd ../cc1.$$i; $(MAKE) -l $(PASSVARS) TM=$(TM) clean)
  73.     @@done
  74.  
  75. tidyothers        : .MAKE
  76.     @@for i in $(WORLD); do
  77.         @@echo --- pmake tidy in ../cc1.$$i ---
  78.         @@(cd ../cc1.$$i; $(MAKE) -l $(PASSVARS) TM=$(TM) tidy)
  79.     @@done
  80.  
  81. othersall        : .MAKE
  82.     @@for i in $(WORLD); do
  83.         @@echo --- pmake all in $$i ---
  84.         @@(cd $$i; $(MAKE) -l $(PASSVARS) all)
  85.     @@done
  86.  
  87. installothersall    :: .MAKE
  88.     @@for i in $(WORLD); do
  89.         @@echo --- pmake installall in $$i ---
  90.         @@(cd $$i; $(MAKE) -l $(PASSVARS) installall)
  91.     @@done
  92.  
  93. cleanothersall    :: .MAKE
  94.     @@for i in $(WORLD); do
  95.         @@echo --- pmake cleanall in $$i ---
  96.         @@(cd $$i; $(MAKE) -l $(PASSVARS) cleanall)
  97.     @@done
  98.  
  99. tidyothersall    :: .MAKE
  100.     @@for i in $(WORLD); do
  101.         @@echo --- pmake tidyall in $$i ---
  102.         @@(cd $$i; $(MAKE) -l $(PASSVARS) tidyall)
  103.     @@done
  104.  
  105. world            :: default others
  106. installworld        :: install installothers
  107. cleanworld        :: clean cleanothers
  108. tidyworld        :: tidy tidyothers
  109. worldall        :: all othersall
  110. installworldall        :: installall installothersall
  111. cleanworldall        :: cleanall cleanothersall
  112. tidyworldall        :: tidyall tidyothersall
  113. @
  114.  
  115.  
  116. 1.3
  117. log
  118. @added 'tidy' target.
  119. @
  120. text
  121. @d14 1
  122. a14 1
  123. # $Header: /sprite/lib/pmake/RCS/world.mk,v 1.2 88/10/10 10:32:44 ouster Exp Locker: douglis $
  124. d19 1
  125. a19 1
  126. others            : .MAKE
  127. d25 1
  128. a25 1
  129. installothers        : .MAKE
  130. d49 1
  131. a49 1
  132. installothersall    : .MAKE
  133. d55 1
  134. a55 1
  135. cleanothersall    : .MAKE
  136. d61 1
  137. a61 1
  138. tidyothersall    : .MAKE
  139. d67 8
  140. a74 8
  141. world            : default others
  142. installworld        : install installothers
  143. cleanworld        : clean cleanothers
  144. tidyworld        : tidy tidyothers
  145. worldall        : all othersall
  146. installworldall        : installall installothersall
  147. cleanworldall        : cleanall cleanothersall
  148. tidyworldall        : tidyall tidyothersall
  149. @
  150.  
  151.  
  152. 1.2
  153. log
  154. @Move "all" to be after "others".
  155. @
  156. text
  157. @d14 1
  158. a14 1
  159. # $Header: world.mk,v 1.1 88/10/10 10:26:07 ouster Exp $
  160. d37 6
  161. d61 6
  162. d70 1
  163. d74 1
  164. @
  165.  
  166.  
  167. 1.1
  168. log
  169. @Initial revision
  170. @
  171. text
  172. @d14 1
  173. a14 1
  174. # $Header: all.mk,v 1.6 88/08/23 16:47:03 douglis Exp $
  175. d37 1
  176. a37 1
  177. allothers        : .MAKE
  178. d43 1
  179. a43 1
  180. installallothers    : .MAKE
  181. d49 1
  182. a49 1
  183. cleanallothers    : .MAKE
  184. d58 3
  185. a60 3
  186. allworld        : all allothers
  187. installallworld        : installall installallothers
  188. cleanallworld        : cleanall cleanallothers
  189. @
  190.